package com.disapand.strongarmy.dto

import org.springframework.format.annotation.*
import java.time.*

/**
 *
 * @auth disapand
 * @date 2021/12/15 - 21:04 - 星期三
 *
 */
open class BaseDTO() {
    val status: List<Int>? = null
    val createdBy: Int? = null
    val createdAt: String? = null

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val createdStartAt: LocalDateTime? = null

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val createdEndAt: LocalDateTime? = null
    val updatedBy: Int? = null
    val updatedAt: String? = null

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val updatedStartAt: LocalDateTime? = null

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    val updatedEndAt: LocalDateTime? = null
    val current: Int = 1
    val pageSize: Int = 20
}
